package com.yjc.drygoods.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjc.common.utils.PageUtils;
import com.yjc.drygoods.ware.entity.PurchaseEntity;
import com.yjc.drygoods.ware.vo.MergeVo;
import com.yjc.drygoods.ware.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-08-19 23:23:36
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveMerge(MergeVo mergeVo);

    PageUtils queryPageUnreceiveList(Map<String, Object> params);

    void receivePurchase(List<Long> ids);

    void donePurchase(PurchaseDoneVo purchaseDoneVo);

    PageUtils getAllAssignedPurchaseWithDetail(Map<String, Object> params);

    PageUtils getAllHavedPurchaseWithDetail(Map<String, Object> params);
}

